class_name HealingPotion
extends Relic

@export var amount := 6

func activate_relic(owner: RelicUI) -> void:
	var player: Player = owner.get_tree().get_first_node_in_group("player") as Player
	if player:
		player.stats.heal(amount)
		owner.flash()
		
func get_tooltip() -> String:
	return tooltip % amount
